package edu.scau.pro.hotel.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (HotelCheckin)实体类
 *
 * @author makejava
 * @since 2022-03-21 20:06:11
 */
public class HotelCheckin implements Serializable {
    private static final long serialVersionUID = -12279442665245377L;
    /**
    * 入住明细ID
    */
    private Integer checkinId;
    /**
     * 入住订单编号
     */
    private String checkinNo;
    /**
    * 房间ID
    */
    private Integer roomId;
    /**
    * 客户ID
    */
    private Integer customerId;
    /**
    * 预住天数
    */
    private Integer reserveDay;
    /**
    * 入住时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date checkinTime;
    /**
    * 预计退房时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date reserveTimeLeave;
    /**
    * 实际退房时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date realTimeLeave;
    /**
    * 押金
    */
    private Double deposit;
    /**
    * 房费
    */
    private Double checkinPrice;
    /**
     * 应付总金额
     */
    private Double totalMoney;
    /**
    * 收到金额
    */
    private Double payMoney;
    /**
    * 订单状态
    */
    private String checkinStatus;
    /**
    * 渠道ID
    */
    private Integer wayDiscountId;
    /**
    * 节假日ID
    */
    private Integer dateDiscountId;

    public Integer getCheckinId() {
        return checkinId;
    }

    public void setCheckinId(Integer checkinId) {
        this.checkinId = checkinId;
    }

    public String getCheckinNo() {
        return checkinNo;
    }

    public void setCheckinNo(String checkinNo) {
        this.checkinNo = checkinNo;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getReserveDay() {
        return reserveDay;
    }

    public void setReserveDay(Integer reserveDay) {
        this.reserveDay = reserveDay;
    }

    public Date getCheckinTime() {
        return checkinTime;
    }

    public void setCheckinTime(Date checkinTime) {
        this.checkinTime = checkinTime;
    }

    public Date getReserveTimeLeave() {
        return reserveTimeLeave;
    }

    public void setReserveTimeLeave(Date reserveTimeLeave) {
        this.reserveTimeLeave = reserveTimeLeave;
    }

    public Date getRealTimeLeave() {
        return realTimeLeave;
    }

    public void setRealTimeLeave(Date realTimeLeave) {
        this.realTimeLeave = realTimeLeave;
    }

    public Double getDeposit() {
        return deposit;
    }

    public void setDeposit(Double deposit) {
        this.deposit = deposit;
    }

    public Double getCheckinPrice() {
        return checkinPrice;
    }

    public void setCheckinPrice(Double checkinPrice) {
        this.checkinPrice = checkinPrice;
    }

    public Double getPayMoney() {
        return payMoney;
    }

    public void setTotalMoney(Double totalMoney) { this.totalMoney = totalMoney; }

    public Double getTotalMoney(){ return totalMoney; }

    public void setPayMoney(Double payMoney) {
        this.payMoney = payMoney;
    }

    public String getCheckinStatus() {
        return checkinStatus;
    }

    public void setCheckinStatus(String checkinStatus) {
        this.checkinStatus = checkinStatus;
    }

    public Integer getWayDiscountId() {
        return wayDiscountId;
    }

    public void setWayDiscountId(Integer wayDiscountId) {
        this.wayDiscountId = wayDiscountId;
    }

    public Integer getDateDiscountId() {
        return dateDiscountId;
    }

    public void setDateDiscountId(Integer dateDiscountId) {
        this.dateDiscountId = dateDiscountId;
    }

    @Override
    public String toString() {
        return "HotelCheckin{" +
                "checkinId=" + checkinId +
                ", checkinNo=" + checkinNo +
                ", roomId=" + roomId +
                ", customerId=" + customerId +
                ", reserveDay=" + reserveDay +
                ", checkinTime=" + checkinTime +
                ", reserveTimeLeave=" + reserveTimeLeave +
                ", realTimeLeave=" + realTimeLeave +
                ", deposit='" + deposit + '\'' +
                ", checkinPrice=" + checkinPrice +
                ", totalMoney=" + totalMoney +
                ", payMoney=" + payMoney +
                ", checkinStatus='" + checkinStatus + '\'' +
                ", wayDiscountId=" + wayDiscountId +
                ", dateDiscountId=" + dateDiscountId +
                '}';
    }
}
